        <div class="box-dm-l">
        <h3 class="box-dm-title">Danh mục con</h3>

        <ul class="nav-sub">
            <li><a href="<?php echo $this->config->item('base_url'); ?>/index.php/cate/index/<?php echo $parentcateid; ?>"><strong><?php echo $parentcatename;?></strong></a>
                <ul class="nav-sub-cat">
                	<?php foreach($listcatep as $row){?>
                          <li class=""><a href="<?php echo $this->config->item('base_url'); ?>/index.php/cate/index/<?php echo $cateid; ?>"><?php echo $row->catename;?></a> <span style="color:#960000">(<?php echo $row->numberproduct;?>)</span></li>
					<?php }?>
                </ul>
            </li>
        </ul>
    </div>
        <div class="box-dm-l">
        <h3 class="box-dm-title">Tìm kiếm</h3>

        <div class="search-dm">
            <ul class="search-dm-top">

                <li><?php echo $catename?></li>
            </ul>
        </div>
        <div class="search-dm">
            <form name="" method="POST">
                <label for="price" class="search-dm-lbl">Giá từ</label><input type="text" name="price" id="price" class="search-dm-ipt" />
                <label for="price_to" class="search-dm-lbl">Đến</label><input type="text" name="price_to" id="price_to" class="search-dm-ipt" />

                <input type="button" value="Tìm theo giá" class="search-dm-btn" onclick="return search_price()" />
            </form>
        </div>

            </div>

    <!--END search-->

        <div class="box-dm-l shop-ranking">
        <h3 class="box-dm-title">SHOP RANKING</h3>

        <ul class="group-ul">
        	<?php foreach($listproduct as $row){?>
            <li>
                <a href="<?php echo $this->config->item('base_url'); ?>/index.php/sanpham/index/<?php echo $row->productid;?>"><img src="http://static.eway.vn/shop/small_0dbe05f2b5017ad29a1cfb78041716d71300800869_16-phung-hung-2.jpg?size=50x50" alt="Paris Shopping" title="Paris Shopping" width="50" height="50" class="like-img" /></a>
                <a href="<?php echo $this->config->item('base_url'); ?>/index.php/sanpham/index/<?php echo $row->productid;?>" class="like-link" title="Paris Shopping"><?php echo $row->productname;?></a>
                <p class="like-txt">Có <span id="likeshoptotal_rank_4d70980e8ecf254e26000000"><?php echo $row->like;?></span> người thích</p>
				<span id="likeshop_rank_4d70980e8ecf254e26000000" class="like">
			            <a href="javascript:void(0)" onclick="requireLogin();" >Thích</a>
			
			    </span>
            </li>
            <?php }?>           
         </ul>
    </div>
 </div>
    